<?php
/**
* This is the main driver for Binder from a user perspective.
*
* $Id: manage.php 46 2005-05-23 21:42:23Z vluther $ 				
* @package user_interface
* @version $Rev: 46 $
* @copyright Copyright &copy; 2000-2007, Linuxpowered, Inc               
* @author Vidyut Luther <vid@linuxpowered.com> 
**/
require_once('./global.inc.php') ; 
require_once(INCLUDE_PATH."/Records.class.php") ; 


$r = new DNSRecord(); 
$rtypes = $r->mLoadTypes();

/* now get all the records for the domain we're looking at */

$r->mSetId($mydomain);

$domRecords = $r->mLoadRecords();

$tpl->assign("dnsRecords",$domRecords); 
$tpl->assign("rtypes",$rtypes); 
$tpl->display("addhost.html"); 
$tpl->display("footer.html"); 
   

?>
